* {
  margin: 0;
  padding: 0;
}

body {
  padding: 20px;
}

.box {
  display: flex;
  flex-wrap: wrap;
}

.box .item {
  border: 1px solid red;
  width: 190px;
  height: 266px;
  box-sizing: border-box;
  padding: 10px;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 5px 5px 0;
}

.box .item > div {
  margin-bottom: 10px;
}

.box .item .img {
  width: 120px;
  height: 120px;
}

.box .item .img img {
  width: 100%;
  display: block;
}

.box .item .text {
  width: 170px;
  height: 40px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.box .item .footer {
  height: 30px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.box .item .footer .icon {
  cursor: pointer;
}
